package org.jeecg.modules.power.user.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 店铺会员权益
 * @Author: jeecg-boot
 * @Date:   2024-08-10
 * @Version: V1.0
 */
@Data
@TableName("yl_shop_member_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yl_shop_member_user对象", description="店铺会员权益")
public class YlShopMemberUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id 主键")
    private String id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String tel;
	/**店铺id*/
	@Excel(name = "店铺id", width = 15)
    @ApiModelProperty(value = "店铺id")
    private String shopId;
	/**店铺名称*/
	@Excel(name = "店铺名称", width = 15)
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
	/**门店会员类型id（yl_shop_member_type 表的id）*/
	@Excel(name = "门店会员类型id（yl_shop_member_type 表的id）", width = 15)
    @ApiModelProperty(value = "门店会员类型id（yl_shop_member_type 表的id）")
    private String shopMemberId;
	/**类型名称*/
	@Excel(name = "类型名称", width = 15)
    @ApiModelProperty(value = "类型名称")
    private String name;
	/**会员有效期 月份*/
	@Excel(name = "会员有效期 月份", width = 15)
    @ApiModelProperty(value = "会员有效期 月份")
    private Integer month;
	/**每日免费小时*/
	@Excel(name = "每日免费小时", width = 15)
    @ApiModelProperty(value = "每日免费小时")
    private Integer hour;
	/**会员开始时间*/
	@Excel(name = "会员开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "会员开始时间")
    private Date beginTime;
	/**会员到期时间*/
	@Excel(name = "会员到期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "会员到期时间")
    private Date endTime;
	/**状态(1-进行中,2-已结束)*/
	@Excel(name = "状态(1-进行中,2-已结束)", width = 15)
    @ApiModelProperty(value = "状态(1-进行中,2-已结束)")
    private Integer status;



    private String  createUser;//创建者（存储id）
    private String  updateUser;//修改者者（存储id）



    private String  createBy;//创建者（账号）
    private String  updateBy;//修改者者（账号）

    @ApiModelProperty(value = "删除状态(1-正常,2-已删除)")
    private Integer delFlag;

	/**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
